package parser;

import crawler.DomainCrawler;


public class Tester {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
// 		  Fara DOMO     
//        task = service.submit(new HtmlParser("http://www.emag.ro/telefon-mobil-apple-iphone-4s-32gb-alb-iphone4s-32gb-white/pd/EYVVDBBBM/?ref=hp_rec_2"));
//        task = service.submit(new HtmlParser("http://www.altex.ro/laptop-acer-aspire-e1-531-b9606g50mnks-intel-pent ium-b960-2-2ghz-15-6-6gb-500gb-intel-hd-graphics-boot-up-linux"));
//        task = service.submit(new HtmlParser("http://www.mediagalaxy.ro/ultrabook-convertibil-sony-vaio-svd1121q2eb-intel-core-i5-3317u-1-7ghz-11-6-4gb-128gb-intel-hd-graphics-4000-windows-8"));
//        new HtmlParser("http://www.flanco.ro/foto-video-optica/aparate-foto-d-slr/aparat-foto-dslr-nikon-d3100-obiectiv-18-55-vr.html", new DomainCrawler("asdf"));
        
//      DomainCrawler dc = new DomainCrawler("http://www.flanco.ro/foto-video-optica/aparate-foto-d-slr/aparat-foto-dslr-nikon-d3100-obiectiv-18-55-vr.html");
//      try {
//			Thread.sleep(3000);
//		} catch (Exception e) {
//			System.out.println(e.getMessage());
//		}
//      System.out.println(dc);
//		new DomainCrawler("http://www.emag.ro/");
	}

}
